package com.xingkeduo.dao;

import com.xingkeduo.model.example.TMarketingTranInfoCouponBagExample;
import com.xingkeduo.model.po.TMarketingTranInfoCouponBag;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMarketingTranInfoCouponBagMapper {
    int countByExample(TMarketingTranInfoCouponBagExample example);

    int deleteByExample(TMarketingTranInfoCouponBagExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingTranInfoCouponBag record);

    int insertSelective(TMarketingTranInfoCouponBag record);

    List<TMarketingTranInfoCouponBag> selectByExample(TMarketingTranInfoCouponBagExample example);

    TMarketingTranInfoCouponBag selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingTranInfoCouponBag record, @Param("example") TMarketingTranInfoCouponBagExample example);

    int updateByExample(@Param("record") TMarketingTranInfoCouponBag record, @Param("example") TMarketingTranInfoCouponBagExample example);

    int updateByPrimaryKeySelective(TMarketingTranInfoCouponBag record);

    int updateByPrimaryKey(TMarketingTranInfoCouponBag record);
}